// MASTER FILE


// Install packages (if needed remove comment)
// ssc install rdrobust 
// ssc install estout
// net install grc1leg, from(http://www.stata.com/users/vwiggins/)


* set path to main directory
cd "/home/user/m030221/private/ricerca/maj status/replication"

////////////////////////////
/// Results in the PAPER ///
////////////////////////////

// Figure 1
run "codes/figure1_analysis.do"

// Table 1
run "codes/table1.do"

// Table 2
run "codes/table2_analysis.do"

// Table 3
run "codes/table3.do"


//////////////////////////////
//// Results in the APPENDIX//
//////////////////////////////

// Figure B1
run "codes/figureB1_analysis.do"

// Figure B2
run "codes/figureB2.do"

// Figure B3
run "codes/figureB3.do"

// Figure B4
run "codes/figureB4.do"

// Table B3
run "codes/tableB3.do"


// Summary stat: tables B1, B2, B4, B5
run "codes/sumstat.do"

//////////////////////////////////
///// END WITHOUT ERRORS//////////
//////////////////////////////////

